package jrain.fw.dao.common.parser.bean;

import java.util.Map;

import jrain.fw.core.dao.bean.SqlBean;

public class SubSqlExpression extends SqlExpression {

	private String subSql;

	public String getSubSql() {
		return subSql;
	}

	public void setSubSql(String subSql) {
		this.subSql = subSql;
	}

	public String calcExpression() {
		return subSql;
	}

	public SqlBean calcSql(Map<String, Object> sqlCfg, Map<String, Object> data,Map<String, Object> ctx) {
		SqlBean bean = new SqlBean();
		bean.append(subSql);
		return bean;
	}

}
